package com.blacktech.dbu.auth.dto;

import com.blacktech.dbu.core.dict.UserStatus;
import com.blacktech.dbu.core.dict.UserType;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 更新用户请求DTO
 *
 * @author Yanyunsong
 */
@Data
public class UpdateUserRequest {

    @Size(max = 100, message = "显示名称不能超过100个字符")
    private String displayName;

    @Email(message = "邮箱格式不正确")
    @Size(max = 100, message = "邮箱不能超过100个字符")
    private String email;

    private UserType userType;

    private UserStatus status;

    /**
     * 备注
     */
    private String remark;
}